<%= items_menu('Payable Bills', [(link_to (image_tag 'icons/feed.png'), :action => 'payable_bills_feed', :username => current_user.username, :password => current_user.hashed_password)]) %>

<% unpaid_bills = current_user.find_unpaid_bills -%>
<% if unpaid_bills.empty? -%>
<h4>You have no bills owing.</h4>
<% else -%>
  <div class="item heavy">
    <div id="options">&nbsp;</div>
    <div id="name">Name</div>
    <div id="details">Details</div>
  </div>
  <% unpaid_bills.each do |bill| -%>
    <%= render :partial => 'unpaid_bill', :object => bill %>
  <% end -%>
<% end -%>

<div style="clear: both;"></div>
